//
//  OneCell.h
//  JinChengYun
//
//  Created by 金橙云 on 2017/4/12.
//  Copyright © 2017年 金橙云. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "KeOneModel.h"

#import "ZFChart.h"
@class TodoHttpManager;
@protocol KeOneModelDelegate<NSObject>
-(void)changeValue:(NSString *)value;
@end

@interface OneCell : UITableViewCell<UITextFieldDelegate,ZFGenericChartDataSource, ZFBarChartDelegate>
{
    NSString *oneStr;
    NSString *twoStr;
}
@property (nonatomic, strong) ZFBarChart * barChart;

@property (nonatomic, assign) CGFloat height;


@property(nonatomic,strong)UILabel *orageLab;

@property(nonatomic,strong)UILabel *starLab;

@property(nonatomic,strong)UILabel *visitLab;
@property(nonatomic,strong)UIButton *oneBtn;
@property(nonatomic,strong)UIButton *twoBtn;
@property(nonatomic,strong)UIButton *seacherBtn;

@property (nonatomic,strong) KeOneModel *dataModel;

@property(nonatomic,unsafe_unretained)id<KeOneModelDelegate>delegate;
@property(nonatomic,strong)TodoHttpManager *manager;

-(instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier allDataModel:(KeOneModel *)dataModel;


@end
